package cn.est.service.impl;

import cn.est.dao.MalfunctionMapper;
import cn.est.pojo.Malfunction;
import cn.est.service.MalfunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MalfunctionServiceImpl implements MalfunctionService {
    @Autowired
    private MalfunctionMapper malfunctionMapper;
    @Override
    public List<Malfunction> listModelId(Long modelId) {
        return malfunctionMapper.listModelId(modelId);
    }
}
